<template>
  <div>
    <iframe id="iframe" :src="iframe_Src" frameborder="0" scrolling="yes" width="100%" height="999px" />
  </div>
</template>

<script>
export default {
  props: [],
  components: {},
  data() {
    return {
      iframe_Src: null,
    }
  },

  watch: {},

  mounted() {
    console.log(this.$route.query)
    //this.iframe_Src = 'http://39.107.237.7:6868/demo/reportJsp/showReport.jsp?rpx=kpi.rpx'
    if(this.$route.query.url)
        this.iframe_Src = this.$route.query.url
  },

  methods: {},
}
</script>

<style scoped>
</style>